Method and system for controlling refresh to avoid memory cell data losses

ABSTRACT

A DRAM includes a register storing subsets of row addresses corresponding to rows containing at least one memory cell that is unable to store a data bit during a normal refresh cycle. Each subset includes all but the most significant bit of a corresponding row address. A refresh counter in the DRAM generates refresh row addresses that are used to refresh rows of memory cells. The refresh row addresses are compared to the subsets of row addresses that are stored in the register. In the event of a match, the row of memory cells corresponding to the matching subset of bits is refreshed. The number of refreshes occurring each refresh cycle will depend upon the number of bits in the subset that are omitted from the row address. The memory cells that are unable to retain data bits are identified by a modified sense amplifier.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No.11/899,643 filed Sep. 6, 2007, which is a continuation of U.S. patentapplication Ser. No. 11/378,898 filed Mar. 17, 2006 and issued as U.S.Pat. No. 7,280,386, which is a divisional of U.S. patent applicationSer. No. 10/892,773, filed Jul. 15, 2004 and issued as U.S. Pat. No.7,116,602 on Oct. 3, 2006.

TECHNICAL FIELD

This invention relates to dynamic random access memory (“DRAM”) devices,and, more particularly, to a sense amplifier and method for detectingrows containing at least one memory cell that is prone to data lossesduring refresh and a method and system for adjusting the refresh rate ofrows of memory cells to prevent for such data losses.

BACKGROUND OF THE INVENTION

As the use of electronic devices, such as personal computers, continueto increase, it is becoming ever more important to make such devicesportable. The usefulness of portable electronic devices, such asnotebook computers, is limited by the limited length of time batteriesare capable of powering the device before needing to be recharged. Thisproblem has been addressed by attempts to increase battery life andattempts to reduce the rate at which such electronic devices consumepower.

Various techniques have been used to reduce power consumption inelectronic devices, the nature of which often depends upon the type ofpower consuming electronic circuits that are in the device. For example,electronic devices, such a notebook computers, typically include dynamicrandom access memory (“DRAM”) devices that consume a substantial amountof power. As the data storage capacity and operating speeds of DRAMscontinues to increase, the power consumed by such devices has continuedto increase in a corresponding manner.

A conventional synchronous dynamic random access memory (“SDRAM”) isshown in FIG. 1. The SDRAM 10 includes an address register 12 thatreceives bank addresses, row addresses and column addresses on anaddress bus 14. The address bus 14 is generally coupled to a memorycontroller (not shown in FIG. 1). Typically, a bank address is receivedby the address register 12 and is coupled to bank control logic 16 thatgenerates bank control signals, which are described further below. Thebank address is normally coupled to the SDRAM 10 along with a rowaddress. The row address is received by the address register 12 andapplied to a row address multiplexer 18. The row address multiplexer 18couples the row address to row address latch & decoder circuit 20 a-dfor each of several banks of memory cell arrays 22 a-d, respectively.One of the latch & decoder circuits 20 a-d is enabled by one of thecontrol signals from the bank control logic 16 depending on which bankof memory cell arrays 22 a-d is selected by the bank address. Theselected latch & decoder circuit 20 applies various signals to itsrespective bank 22 as a function of the row address stored in the latch& decoder circuit 20. These signals include word line voltages thatactivate respective rows of memory cells in the banks 22. The rowaddress multiplexer 18 also couples row addresses to the row addresslatch & decoder circuits 20 a-d for the purpose of refreshing the memorycells in the banks 22 a-d. The row addresses are generated for refreshpurposes by a refresh counter 30.

After the bank and row addresses have been applied to the addressregister 12, a column address is applied to the address register 12. Theaddress register 12 couples the column address to a column addresscounter/latch circuit 32. The counter/latch circuit 32 stores the columnaddress, and, when operating in a burst mode, generates column addressesthat increment from the received column address. In either case, eitherthe stored column address or incrementally increasing column addressesare coupled to column address & decoders 38 a-d for the respective banks22 a-d. The column address & decoders 38 a-d apply various signals torespective sense amplifiers 40 a-d through column interface circuitry42. The column interface circuitry 42 includes conventional I/O gatingcircuits, DQM mask logic, read data latches for storing read data fromthe memory cells in the banks 22 and write drivers for coupling writedata to the memory cells in the banks 22.

Data to be read from one of the banks 22 a-d are sensed by therespective set of sense amplifiers 40 a-d and then stored in the readdata latches in the column interface circuitry 42. The data are thencoupled to a data output register 44, which applies the read data to adata bus 48. Data to be written to the memory cells in one of the banks22 a-d is coupled from the data bus 48 through a data input register 50to write drivers in the column interface circuitry 42. The write driversthen couple the data to the memory cells in one of the banks 22 a-d. Adata mask signal “DQM” is applied to the column interface circuitry 42and the data output register 44 to selectively alter the flow of datainto and out of the column interface circuitry 42, such as byselectively masking data to be read from the banks of memory cell arrays22 a-d.

The above-described operation of the SDRAM 10 is controlled by controllogic 56, which includes a command decoder 58 that receives commandsignals through a command bus 60. These high level command signals,which are typically generated by a memory controller (not shown in FIG.1), are a clock a chip select signal CS#, a write enable signal WE#, acolumn address strobe signal CAS#, and a row address strobe signal RAS#,with the “#” designating the signal as active low. Various combinationsof these signals are registered as respective commands, such as a readcommand or a write command. The control logic 56 also receives a clocksignal CLK and a clock enable signal CKE#, which cause the SDRAM 10 tooperate in a synchronous manner. The control logic 56 generates asequence of control signals responsive to the command signals to carryout the function (e.g., a read or a write) designated by each of thecommand signals. The control logic 56 also applies signals to therefresh counter 30 to control the operation of the refresh counter 30during refresh of the memory cells in the banks 22. The control signalsgenerated by the control logic 56, and the manner in which theyaccomplish their respective functions, are conventional. Therefore, inthe interest of brevity, a further explanation of these control signalswill be omitted. The control logic 56 also includes a mode register 64that may be programmed by signals coupled through the command bus 60during initialization of the SDRAM 10. The mode register 64 thengenerates mode control signals that are used by the control logic 56 tocontrol the operation of the SDRAM 10 in various modes.

A sense amplifier 80 of the type typically used for the sense amplifiers40 a-d in the SDRAM 10 is shown in FIG. 2. As is well-known in the art,one sense amplifier 80 is provided for each column of memory cells ineach array of the banks 22 a-d, and it is coupled to all of the memorycells in its respective column through complementary digit lines D1,D1*. The sense amplifier 80 includes a pair of cross-coupled PMOStransistors 82, 84 that have their sources coupled to a positive controlsignal “ACT” and their drains coupled to the digit lines D1, D1*,respectively. The sense amplifier 80 also includes a pair ofcross-coupled NMOS transistors 86, 88 that have their sources coupled toa negative control signal “NLAT*” and their drains coupled to the digitlines D1, D1*, respectively.

In operation, when a memory cell is being read, the voltage on one ofthe digit lines D1, D1* will be slightly greater than the voltage on theother one of digit lines D1, D1*. The ACT signal is then driven high andthe NLAT* signal is driven low to enable the sense amplifier 80. Thedigit line D1, D1* having the lower voltage will turn on the PMOStransistor 82, 84 to a greater extent than the other PMOS transistor 82,84 is turned on, thereby driving the digit line D1, D1* having thehigher voltage high to a greater extent than the other digit line D1,D1* is driven high. Similarly, the digit line D1, D1* having the highervoltage will turn on the NMOS transistor 86, 88 to a greater extent thanthe other NMOS transistor 86, 88 is turned on, thereby driving the digitline D1, D1* having the lower voltage low to a greater extent than theother digit line D1, D1* is driven low. As a result, after a shortdelay, the digit line D1, D1* having the slightly greater voltage isdriven to the voltage of the ACT signal (which is generally the supplyvoltage V_(CC)), and the other digit line D1, D1* is driven to thevoltage of the NLAT* signal (which is generally ground potential).

In general, the power consumed by a DRAM, including, of course, theSDRAM 10, increases with both the capacity and the operating speed ofthe DRAMs. The power consumed by DRAMs is also affected by theiroperating mode. A DRAM, for example, will generally consume a relativelylarge amount of power when the memory cells of the DRAM are beingrefreshed. As is well-known in the art, DRAM memory cells, each of whichessentially consists of a capacitor, must be periodically refreshed toretain data stored in the DRAM. Refresh is typically performed byessentially reading data bits from the memory cells in each row of amemory cell array and then writing those same data bits back to the samecells in the row. A relatively large amount of power is consumed whenrefreshing a DRAM because rows of memory cells in a memory cell arrayare being actuated in the rapid sequence. Each time a row of memorycells is actuated, a pair of digit lines for each memory cell areswitched to complementary voltages and then equilibrated. As a result,DRAM refreshes tends to be particularly power-hungry operations.Further, since refreshing memory cells must be accomplished even whenthe DRAM is not being used and is thus inactive, the amount of powerconsumed by refresh is a critical determinant of the amount of powerconsumed by the DRAM over an extended period. Thus many attempts toreduce power consumption in DRAMs have focused on reducing the rate atwhich power is consumed during refresh.

Refresh power can, of course, be reduced by reducing the rate at whichthe memory cells in a DRAM are being refreshed. However, reducing therefresh rate increases the risk of data stored in the DRAM memory cellsbeing lost. More specifically, since, as mentioned above, DRAM memorycells are essentially capacitors, charge inherently leaks from thememory cell capacitors generally either through the capacitorsthemselves or through respective access transistors coupled to thememory cell capacitors. In either case, charge leaking from thecapacitors can change the value of a data bit stored in the memory cellover time. However, current leaks from DRAM memory cells at varyingrates. Some memory cell capacitors are essentially short-circuited andare thus incapable of storing charge indicative of a data bit. Thesedefective memory cells can be detected during production testing, andcan then be repaired by substituting non-defective memory cells usingconventional redundancy circuitry. On the other hand, current leaks frommost DRAM memory cells at much slower rates that span a wide range. ADRAM refresh rate is chosen to ensure that all but a few memory cellscan store data bits without data loss. This refresh rate is typicallyonce every 64 ms. The memory cells that cannot reliably retain data bitsat this refresh rate are detected during production testing and replacedby redundant memory cells. However, refreshing memory cells at a ratethat is needed to allow all but the leakiest memory cells to retain databits actually refreshes the overwhelming majority of the memory cells ata rate that is far higher than the rate needed for these memory cells toretain data bits. As a result, typically used refresh rates causesignificantly more power to be consumed than is needed to avoid dataloss in most of the memory cells.

Although memory cells that cannot reliably retain data are replaced byredundant memory cells during production testing, the rate of currentleakage from DRAM memory cells can change after production testing. Infact, the rate of current leakage can change both as a matter of timeand from subsequent production steps, such as in packaging DRAM chips.Current leakage, and hence the rate of data loss, can also be effectedby environmental factors, such as the temperature of DRAMs. Therefore,despite production testing and repair, a few memory cells may be unableto retain stored data bits at normal refresh rates or during extendedrefresh if in low-power operation. In some cases, DRAMs that are unableto retain data during refresh can be detected during post-productiontesting, such as when memory cells become excessively leaky duringpackaging. The devices are then discarded, thereby reducing themanufacturing yield of the DRAMs. However, there is no solution formemory cells become excessively leaky during use because conventionalDRAMs do not include any means for detecting memory cells that havebecome excessively leaky. Therefore, conventional DRAMs do not includeany means to compensate for memory cells that have become excessivelyleaky, which could be used to prevent data loss.

One technique that has been used to reduce prevent data errors duringrefresh is to generate an error correcting code “ECC” from each item ofdata that is to be written to a DRAM, and to store the ECC along withthe write data. When the stored data are to be read from the DRAM, theECC is read and used to determine if the read data are in error. If theerror occurs in less than a specific number of bits, the ECC can be usedto correct the read data. Although the use of ECCs can significantlyimprove the reliability of data stored in the DRAMs, this techniquerequires that a significant portion of the DRAM storage capacity be usedto store the ECCs, thus effectively reducing the storage capacity of theDRAM. ECC typically also slows memory write performance as the memorycontroller must first read, then merge, then write data to memory on anypartial word write to memory. ECC also typically imposes a penalty ofextra signal lines between memory and memory controller.

There is therefore a need for a method and system that detects DRAMmemory cells that have become excessively leaky after production, andthat adjusts the rate at which such memory cells are refreshed toprevent data loss while avoiding excessive refreshes of DRAM memorycells that do not suffer from leakage problems.

SUMMARY OF THE INVENTION

A dynamic random access memory (“DRAM”) device and method includes a anarray of memory cells arranged in rows and columns in which at least onememory cell in some of the rows may be unable to retain data bits duringrefresh. The rows containing at least one memory cell that is unable toretain a data bit are identified by first writing predetermined bits tothe memory cells in each row of memory cells. After the rows have beenrefreshed, the data bits are read from the memory cells in each row, anda determination is made whether any of the read data bits differ fromthe corresponding data bits written to the memory cells in the row. Thiswriting, refreshing and reading sequence may be performed as part of thenormal operation of the DRAM device. Once the rows containing at leastone memory cell that is unable to retain a data bit are identified, theidentified rows of memory cells are refreshed at a rate that is fasterthan the rate that other rows of memory cells are refreshed. The refreshof identified rows is preferably accomplished by recording a subset ofbits of an address for each identified row. Each subset contains all butat least the most significant bit of the row address. As refresh rowaddresses are generated for the rows of memory cells, each refresh rowaddress is compared with each of the recorded subsets of bits. In theevent of a match, the row of memory cells corresponding to the rowaddress from which the matching subset of bits were obtained isrefreshed.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a conventional dynamic random access memorydevice.

FIG. 2 is a schematic diagram of a conventional sense amplifier used inthe dynamic random access memory of FIG. 1.

FIG. 3 is a block diagram of a dynamic random access memory deviceaccording to one embodiment of the invention.

FIG. 4 is a block diagram of one embodiment of a comparator circuit thatcan be used in the dynamic random access memory of FIG. 3.

FIG. 5 is a schematic diagram of one embodiment of a sense amplifiercomparator that can detect excessively leaky memory cells and can beused in the dynamic random access memory of FIG. 3.

FIG. 6 is a block diagram of a computer system according to oneembodiment of the invention.

DETAILED DESCRIPTION

One embodiment of an SDRAM 100 according to one embodiment of thepresent invention is shown in FIG. 3. The SDRAM 100 contains many of thesame components that are used in the SDRAM 10 of FIG. 1, and theyoperate in substantially the same manner. Therefore, in the interest ofbrevity, these components have been provided with the same referencenumerals, and an explanation of their function and operation will not berepeated. The SDRAM 100 differs from the SDRAM 10 in two primaryrespects. First, it includes a row address register 110 that stores atable of row addresses identifying rows of memory cells that contain atleast one unusually leaky memory cell, and a set of comparators 114 thatcompare the row addresses in the table to a portion of each of the rowaddresses generated by the refresh counter 30. Second, the SDRAM 100includes comparators 120 a-d coupled to respective sense amplifiers 40a-d for detecting which rows of memory cells contain at least oneunusually leaky memory cell.

The row address register 110 and comparators 114 are shown in greaterdetail in FIG. 4. The row address register 110 includes several rowaddress register units 130 a-n corresponding in number to the number ofrows that are expected to contain at least one unusually leaky memorycell. Each of the register units 130 a-n stores a row addresscorresponding to a respective row containing at least one unusuallyleaky memory cell. The row address register 110 also includes partialrow address register units 134 a-n, each of which store a predeterminednumber of bits of the row address stored in a respective row addressregister unit 130 a-n. The number of bits of the partial row addressstored in the partial row address register units 134 a-n can all be thesame or they can be different from each other. Corresponding row addressregisters units 130 a-n and partial row address register units 134 a-nare coupled to respective comparator units 140 a-n, which also receivesa refresh row address from the refresh counter 30. Each comparator unit140 a-n compares the row address bits stored in its corresponding rowaddress register unit 130 a-n to the refresh row address and generates ahigh output signal on line 136 a-n in the event of a match. Eachcomparator unit 140 a-n also compares the row address bits stored in itscorresponding partial row address register unit 134 a-n to thecorresponding bits of the refresh row address and generates a highoutput signal on line 138 a-n in the event of a match. Thus, forexample, if one of the partial row address register units 134 a-n storesall but the two most significant bits (“MSBs”) of a row address, thecorresponding comparator unit 140 a-n will compare those bits to all butthe two MSBs of the refresh row address from the refresh counter 30.

In the event of a match between the refresh counter 30 and the bitsstored in one of the row address register units 130 a-n, thecorresponding comparator unit 140 a-n outputs a high that is coupled toan OR gate 142. If any of the comparator units 140 a-n output a high,the OR gate 142 outputs an active high FULL MATCH (“FM”) signal. Thus, aFULL MATCH signal will be generated whenever the refresh row addressfrom the refresh counter 30 matches a row address stored in one of therow address register units 130 a-n.

In the event of a match between the bits stored in one of the partialrow address register units 134 a-n and corresponding bits of the refreshrow address from the refresh counter 30, the corresponding comparatorunit 140 a-n outputs a high that is coupled to another OR gate 144. Ifany of the comparator units 140 a-n output a high, the OR gate 144outputs an active high MATCH (“M”) signal. Thus, a MATCH signal will begenerated whenever the bits of a partial row address stored in one ofthe partial row address register units 134 a-n match the correspondingbits of a refresh row address from the refresh counter 30.

The number of times the MATCH signal is generated during each refreshcycle for each row having a row address stored in the row addressregister 110 will depend upon the number of row address bits stored inone of the partial row address register units 134 a-n. For a simplifiedexample, the MSB of a row having a row address of “110011” may beomitted from the bits stored in the partial row address register unit134 a-n for that row. Thus, the partial row address register unit 134a-n will store the address bits “10011.” The bits stored in the partialrow address register unit 134 a-n will therefore match the correspondingbits of a refresh row address from the refresh counter 30 when therefresh counter generates an address of “010011” and “110011.” Thus, therow having a row address of “110011” will be refreshed twice eachrefresh cycle. If the two MSBs are omitted from the bits stored in thepartial row address register unit 134 a-n for that row, the partial rowaddress register unit 134 a-n will store the address bits “0011.” Underthese circumstances, the bits stored in the partial row address registerunit 134 a-n will match the corresponding bits of a refresh row addressfrom the refresh counter 30 when the refresh counter generates anaddress of “000011”, “010011”, “100011” and “110011.” The row having arow address of “110011” will therefore be refreshed four times eachrefresh cycle. By eliminating the three MSBs from the row address storedin the partial row address register unit 134 a-n, the row having a rowaddress of “110011” will be refreshed eight times each refresh cycle,and so forth.

Returning to FIG. 3, the FM output from the OR gate 142 and the M outputfrom the OR gate 144 are coupled to the control logic 56. In the eventthe active high MATCH signal is generated but the active high FULL MATCHsignal is not generated, the control logic 56 halts the refresh counter30 from incrementing and inserts a refresh of the row stored in thecorresponding row address register unit 130 a-n. In the event both anactive high MATCH signal and an active high FULL MATCH signal aregenerated, the control logic 56 does not halts the refresh counter 30from incrementing because the refresh counter 30 is, at that time,outputting the row address for the row that would receive the extrarefresh. There is therefore no need to halt the refresh counter 30 fromincrementing.

As mentioned above, the number of row address bits stored in each of thepartial row address register units 134 a-n can vary among the units 134a-n or they can be the same for all of the units 134 a-n. The number ofstored bits preferably depends upon the rate at which one or moreunusually leaky memory cells in the row leak charge. For a rowcontaining memory cells with only relatively slight leaks, all but theMSB of the row address can be stored in the corresponding partial rowaddress register unit 134 a-n so that the row will be refreshed at twicethe rate of non-leaky memory cells. For a row containing memory cellswith more severe leaks, all but the two MSBs of the row address can bestored in the corresponding partial row address register unit 134 a-n sothat the row will be refreshed at four times the rate of non-leakymemory cells. The partial row address register unit 134 a-n for a rowcontaining memory cells with very severe leaks can store all but thethree MSBs of the row address so that the row will be refreshed at eighttimes the rate of non-leaky memory cells.

Although the row address register units 130 a-n and the partial rowaddress register units 134 a-n may be conventional volatile electronicstorages device, other devices may also be used. For example, the rowaddresses and partial row addresses could be programmed into the SDRAM100 by blowing a plurality of fuses or anti-fuses in patternscorresponding to the full or partial row addresses. The addresses ofrows containing unusually leaky memory cells could also be storedexternally of the SDRAM 100, such as in a memory module (not shown)containing several of the SDRAMs 100. The data corresponding to theserow addresses could then be provided to the SDRAMs 100 by suitablemeans, such as by loading the data into the mode register 64 (FIG. 3) atpower-on. Data corresponding to the row addresses of the rows containingleaky memory cells could also be stored in a non-volatile memory device,such as in a serial EEPROM that was either external or internal to theSDRAM 100. Other variations will be apparent to one skilled in the art.

As mentioned above, the second aspect of the SDRAM 100 of FIG. 3 thatdiffers from the SDRAM 10 of FIG. 1 is the use of the comparators 120a-d coupled to respective sense amplifiers 40 a-d for detecting whichrows of memory cells contain at least one unusually leaky memory cell.One embodiment of a sense amplifier comparator 180 that can be used forthe comparators 120 a-d of FIG. 3 is shown in FIG. 5. The comparator 180includes a first NMOS transistor 184 having its gate coupled to thedigit line D and a second NMOS transistor 186 having its gate coupled tothe digit line D*. The drains of both transistors 184, 186 are coupledto a supply voltage V_(CC). The transistors 184, 186 act as sourcefollowers to couple the voltages on the digit lines D, D* to the sourcesof the transistors 184, 186, respectively, without discharging the digitlines D, D*. The sources of the transistors 184, 186 are coupled to thedrains of a pair of cross-coupled NMOS transistors 190, 192,respectively. When enabled, the NMOS transistors 190, 192, function likethe NMOS transistors 86, 88 in the sense amplifier 80 of FIG. 2 to drivethe digit line D, D* having the voltage with the lower magnitude toground. The transistors 190, 192 are enabled by coupling their sourcesto ground through an NMOS transistor 194, which is turned on by a highVRT_Sense signal. The drain of the transistor 190 serves as the outputof the comparator 180, and it is coupled to an OR gate (not shown),which also receives outputs from the comparators 180 coupled to all ofthe other sense amplifiers 80 for the memory cells activated by the wordline. The OR gate 196 will therefore output a high in the event any ofthe memory cells in the active row is unable to retain data after beingrefreshed.

In operation, a logic “1” corresponding to V_(CC) is written to all ofthe columns in each bank. The memory cells are then refreshed for atleast one refresh cycle. Finally, each row of memory cells is activatedthereby coupling either the digit line D to a memory cell to whichV_(CC) was previously coupled or the digit line D* to a memory cell thatwas previously coupled to ground. If the memory cell is sufficientlyleaky that it has not retained the data bit written to it, the voltageon the digit line D will be less than the voltage on the digit line D*.As a result, the digit line D will be driven to ground potential whilethe digit line D* is isolated. The address of the active row is thenstored in one of the row address register 130 a-n, and a subset of thebits of the active row is stored in one of the address registers 134a-n. The above process can be repeated with different refresh rates todetermine which rows contain at least one memory cell that is onlyslightly leaky, moderately leaky and very leaky. All but the MSB of theaddresses of the rows containing slightly leaky memory cells can bestored in respective registers 134 a-n so that such rows will berefreshed at twice the normal rate. All but the two MSBs of theaddresses of the rows containing moderately leaky memory cells can bestored in respective registers 134 a-n so that such rows will berefreshed at four times the normal rate. Finally, all but the three MSBsof the addresses of the rows containing very leaky memory cells can bestored in respective registers 134 a-n so that such rows will berefreshed at four times the normal rate. In this manner, rows of memorycells will be refreshed only at the rate needed to retain data duringrefreshes, and without any row being refreshed more frequently thanneeded to retain data.

One embodiment of a computer system 200 using the SDRAM 100 of FIG. 3 orsome other embodiment of the invention is shown in FIG. 6. The computersystem 200 includes a central processor unit (“CPU”) 214 coupled to asystem controller 216 through a processor bus 218. The system controller216 is coupled to input/output (“I/O”) devices (not shown) through aperipheral bus 220 and to an I/O controller 224 through an expansion bus226. The I/O controller 224 is also connected to various peripheraldevices (not shown) through an I/O bus 228.

The system controller 216 is coupled to several memory modules 232 a-cthrough an address bus 236, a control bus 238, and a data bus 242. Eachof the memory modules 232 a-c includes several of the SDRAMs 100. Thedata are coupled through the data bus 242 to and from the systemcontroller 216 and locations in the SDRAM 100 in the modules 232 a-c.The locations in the SDRAMs to which data are written and data are readare designated by addresses coupled to the memory modules 232 a-c on theaddress bus 236. The operation of the SDRAMs 100 in the memory modules232 a-c are controlled by control signals coupled to the memory modules232 a-c on the control bus 238.

Although the present invention has been described with reference to thedisclosed embodiments, persons skilled in the art will recognize thatchanges may be made in form and detail without departing from the spiritand scope of the invention.

1. A memory device having an array of memory cells arranged in rows andcolumns, at least some of the rows containing at least one memory cellunable to retain data during refresh, the memory device comprising: arow address register circuit operable to receive and store a pluralityof row addresses that identity rows of memory cells containing at leastone memory cell that is unable to retain data, and operable to store apredetermined number of bits of each of the plurality of row addresses;a refresh counter operable to generate refresh row addresses during arefresh cycle; a comparator circuit coupled to the row address registercircuit and the refresh counter circuit, the comparator circuit operableto compare each of the plurality of row addresses of the row addressregister and each of the predetermined number of bits to the refresh rowaddresses generated by the refresh counter and generate a match signalin the event of a match; and a control logic circuit coupled to thecomparator circuit, the control logic circuit being configured toreceive the match signal and operable to refresh the row matched to therow address stored in the row address register responsive to eachoccurrence of the match signal in a manner that allows the row matchedto the stored row address to selectively receive at least an extrarefresh.
 2. The memory device of claim 1 wherein the predeterminednumber of bits comprise least significant bits.
 3. The memory device ofclaim 2 wherein the number of times the row matched to the row addressstored in the address register is refreshed is increased by decreasingthe number of bits selected as the predetermined number of bits.
 4. Thememory device of claim 1 further comprising: a plurality of senseamplifiers coupled to the array of memory cells through respectivelycoupled digit lines; and a plurality of comparator circuits respectivelycoupled to the digit lines of the plurality of sense amplifiers, thecomparator circuit operable to compare the voltages to the respectivelycoupled digit lines and provide a detection signal indicative of thecomparison.
 5. The memory device of claim 1 wherein the control logiccircuit comprises being further operable to suspend the refresh rowaddresses from being generated by the refresh counter while the rowmatched to the row address stored in the row address register is beingrefreshed responsive to the occurrence of the match signal due matchingthe predetermined number of bits.
 6. A computer system comprising: aprocessor; and a memory device having an array of memory cells arrangedin rows and columns, at least some of the rows containing at least onememory cell unable to retain data during refresh, the memory devicecomprising: a row address register circuit operable to record a subsetof bits of a plurality of row address that identifies a row of memorycells containing at least one memory cell unable to retain data; arefresh counter operable to generate refresh row addresses during arefresh cycle and operable to refresh each of the rows of memory cellsas row addresses for the rows are generated, wherein a plurality ofrefresh row addresses contains the subset of bits; a comparator circuitcoupled to the row address register circuit and the refresh countercircuit, the comparator circuit operable to compare each of the recordedsubset of bits with corresponding bits of each refresh row address aseach refresh row address is being generated and generate a match signalin the event of a match; and a control logic circuit coupled to thecomparator circuit, the control logic circuit being configured toreceive the match signal and operable to refresh the row matched to therespective row address stored in the row address register in response tothe match signal, the match signal being generated each time the subsetof bits is matched to one of the plurality of refresh row addresses. 7.The computer system of claim 6 further comprising a plurality of senseamplifier comparator circuits each coupled to each pair of complementarydigit lines of respective columns of the memory cells, each of the senseamplifier comparator circuits operable to compare the voltages of therespectively coupled digit lines to determine whether the respectivememory cell is unable to retain data and to provide a detection signalindicative of the identified memory cell.
 8. The computer system ofclaim 6 wherein row addresses that identifies a row of memory cellscontaining at least one memory cell unable to retain data are providedto the row address register circuit from data stored externally in anon-volatile memory device.
 9. The computer system of claim 6 whereinthe row address register circuit is stored externally in a memorymodule.